<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib uri="/struts-tags" prefix="s" %>
<%@ taglib uri="/WEB-INF/tld/ce.tld" prefix="ce" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/cases/assit/";  //应用的地址名
String replyActionName = basePath+"CaseAssitCheck_dealReply.action";
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    
    <title>回复情况录入</title>
<script type="text/javascript">
<!--
           $(function(){
              $('#replyLimitDate').validatebox({
                   required:'true',
                   missingMessage:'请选择回复时限'
               }); 
              $('#replyDate').validatebox({
                  required:'true',
                  missingMessage:'请选择回复日期'
              }); 
               $('#totalBill').numberbox({
                   missingMessage:'请输入合法的数字！'
               }); 
               $('#problemBill').numberbox({
                   missingMessage:'请输入合法的数字！'
               }); 
	           //点击添加按钮操作
			   $('#addBtn').click(function(){
                  $('#editForm').submit();
	            });
	            //表单验证及提交处理操作
	           $('#editForm').form({
			        url:'<%=replyActionName%>',
			        onSubmit: function(){
			           if($(this).form('validate')){
			                 $.util.showLoading();
			                 $('#operateWindow').window('close');
                            return true;
			             }else{
			                return false;
			             }
			        },
			        success:function(data){
			            $.util.removeLoading();
                        returnOptMsg(data);
			        }
				});
	            
           });
//-->
</script>
</head>
<body>
<s:form action="editForm" method="post">
  <s:hidden name="po.vcId"/>
	<table align="center" width="100%"  class="tb_add_th">
		<tr><th>回复时限:</th><td><input type="text" id="replyLimitDate"  name="po.replyLimitDate" value="<s:date name="po.replyLimitDate" format="yyyy-MM-dd"/>" class="Wdate" onclick="WdatePicker({skin:'whyGreen',dateFmt:'yyyy-MM-dd'})" readonly="true"/></td>
		    <th>回复日期:</th><td><input type="text" id="replyDate"  name="po.replyDate" value="<s:date name="po.replyDate" format="yyyy-MM-dd"/>" class="Wdate" onclick="WdatePicker({skin:'whyGreen',dateFmt:'yyyy-MM-dd'})" readonly="true"/></td>
		</tr>
		<tr><th>回复编号:</th><td><s:textfield id="replyCode"  name="po.replyCode" /></td>
			<th>是否按期回复:</th><td><s:radio name="po.ontimeReply" list="#{1:'是',0:'否' }"/></td>
		</tr>
		<tr></tr>
		<tr><th>累计回复发票份数:</th><td><s:textfield id="totalBill"  name="po.totalBill" /></td>
			<th>是否正常:</th><td><s:radio name="po.isNormal" list="#{1:'是',0:'否' }"/></td>
		</tr>
		<tr><th>有问题的发票份数:</th><td><s:textfield id="problemBill"  name="po.problemBill" /></td>
		    <th>无法核实:</th><td><s:textfield id="noVerify"  name="po.noVerify" /></td>
		</tr>
	</table>    
</s:form>
</body>
</html>

